<!--{template common/header}-->

<!-- header start -->
<div class="bz-header">
	<div class="bz-header-left">
		<a href="javascript:history.back();" class="iconfont icon-fanhui"></a>
	</div>
	<h2>$_G['setting']['bbname']</h2>
	<div class="bz-header-right">
		<a href="<!--{if $_GET['mod'] == 'forumdisplay' || $_GET['mod'] == 'viewthread'}-->forum.php?mod=post&action=newthread&fid=$_G['fid']<!--{else}-->forum.php?mod=misc&action=nav<!--{/if}-->" class="iconfont icon-fatie"></a>
	</div>
</div>
<div class="banzhuan-top"></div>
<!-- header end -->

<div class="banzhuan-search-bg">
	<div>
        <form id="searchform" class="searchform" method="post" autocomplete="off" action="search.php?mod=forum&mobile=2">
			<input type="hidden" name="formhash" value="{FORMHASH}" />
			<!--{subtemplate search/pubsearch}-->
			<!--{eval $policymsgs = $p = '';}-->
			<!--{loop $_G['setting']['creditspolicy']['search'] $id $policy}-->
			<!--{block policymsg}--><!--{if $_G['setting']['extcredits'][$id][img]}-->$_G['setting']['extcredits'][$id][img] <!--{/if}-->$_G['setting']['extcredits'][$id][title] $policy $_G['setting']['extcredits'][$id][unit]<!--{/block}-->
			<!--{eval $policymsgs .= $p.$policymsg;$p = ', ';}-->
			<!--{/loop}-->
			<!--{if $policymsgs}--><p>{lang search_credit_msg}</p><!--{/if}-->
        </form>
	</div>

<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
	<!--{subtemplate search/thread_list}-->
<!--{/if}-->

	<!--{if $_G['setting']['srchhotkeywords']}-->
	<div class="search-hot bg-fff bz-p10 bz-mtb10">
		<div id="scbar_hot">
			<div class="tab-title"><a>{lang hot_search}</a></div>
			<div class="scbar-hot-title">
				<!--{loop $_G['setting']['srchhotkeywords'] $val}-->
				<!--{if $val=trim($val)}-->
				<!--{eval $valenc=rawurlencode($val);}-->
				<!--{block srchhotkeywords[]}-->
				<!--{if !empty($searchparams[url])}-->
				<a href="$searchparams[url]?q=$valenc&source=hotsearch{$srchotquery}" class="xi2" sc="1">$val</a>
				<!--{else}-->
				<a href="search.php?mod=forum&srchtxt=$valenc&formhash={FORMHASH}&searchsubmit=true&source=hotsearch" class="xi2" sc="1">$val</a>
				<!--{/if}-->
				<!--{/block}-->
				<!--{/if}-->
				<!--{/loop}-->
				<!--{echo implode('', $srchhotkeywords);}-->
			</div>
		</div>
	</div>
	<!--{/if}-->

<!--{template common/footer}-->